package com.kfm.spring.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
//@CrossOrigin(origins = "http://127.0.0.1:5500")
public class testController {

    @RequestMapping(value = "/test",method = {RequestMethod.GET,RequestMethod.POST,RequestMethod.PUT})
    public String test(){
        return "test";
    }
}
